BIN = test_netlink_libnl
OBJS =  test_netlink_libnl.o
INCLUDES = -I. -I./include 
INCLUDES += -I/usr/include/libnl3 
CFLAGS = -Wall -Os
LIBS = -lnl-3 -lnl-genl-3


$(BIN): $(OBJS)
	$(CC) $(OBJS) -o $(BIN) $(LIBS)

%.o: %.c
	$(CC) -c $< $(INCLUDES) $(CFLAGS)

clean:
	rm $(OBJS) $(BIN)

